home *** CD-ROM | disk | FTP | other *** search
- Path: solon.com!not-for-mail
- From: Jens M Andreasen <jens-and@dsv.su.se>
- Newsgroups: comp.std.c,comp.lang.c.moderated
- Subject: Re: Integral promotion.
- Date: 25 Feb 1996 12:13:05 -0600
- Organization: Digital Solutions
- Sender: clc@solutions.solon.com
- Approved: clc@solutions.solon.com
- Message-ID: <4gq8rh$os0@solutions.solon.com>
- References: <4ggbcq$81c@solutions.solon.com> <4ggg41$91j@solutions.solon.com> <4gnb8t$bgl@solutions.solon.com>
- NNTP-Posting-Host: solutions.solon.com
-
-
-
- On 24 Feb 1996, Stan Ryckman wrote:
-
- On a discussion on (short) x++ ; /* Warning: Loss of precision */
-
- > I don't think compilers need to issue warnings for potential loss
- > of precision in any case, though, but I've been wrong before.
- > And we all know by now that they *may* issue such warnings at any
- > time without violating the Standard (even for "x *= 2;").
-
- Since this is really happening, I would like to know:
-
- 1) Is it normal? (as opposed to legal) or should I consider it a bug (a
- legal bug but still a nuisance).
-
- 2) _Should_ there be a way to cast ones way out? (Obviously not on this
- platform)
-
- // Jens M Andreasen
-